package com.khyr.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.khyr.Vo.PurchaseVo;
import com.khyr.Vo.PurchaserVo2;
import com.khyr.entity.StockPurchase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @InterfaceName: PurchaseDao
 * @author: Zyl
 * @date: 2025/3/13 14:53
 * @Version: 1.0
 * @description:
 */
@Mapper
public interface PurchaseDao extends BaseMapper<StockPurchase> {
    int insert1(PurchaserVo2 data);

    int insert2(PurchaserVo2 data);

    int up(PurchaserVo2 data);

    int up2(PurchaserVo2 data);

    int in(@Param("storageOptUser") String storageOptUser, @Param("purchaseId") String purchaseId, @Param("storageOptTime") String storageOptTime);
}
